Optimal. Leaf size=91 \[ -\frac {2 a^2 (A b-a B)}{b^4 \sqrt {a+b x}}+\frac {2 (a+b x)^{3/2} (A b-3 a B)}{3 b^4}-\frac {2 a \sqrt {a+b x} (2 A b-3 a B)}{b^4}+\frac {2 B (a+b x)^{5/2}}{5 b^4} \]
________________________________________________________________________________________
Rubi [A] time = 0.03, antiderivative size = 91, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 1, integrand size = 18, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.056, Rules used = {77} \begin {gather*} -\frac {2 a^2 (A b-a B)}{b^4 \sqrt {a+b x}}+\frac {2 (a+b x)^{3/2} (A b-3 a B)}{3 b^4}-\frac {2 a \sqrt {a+b x} (2 A b-3 a B)}{b^4}+\frac {2 B (a+b x)^{5/2}}{5 b^4} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 77
Rubi steps
\begin {align*} \int \frac {x^2 (A+B x)}{(a+b x)^{3/2}} \, dx &=\int \left (-\frac {a^2 (-A b+a B)}{b^3 (a+b x)^{3/2}}+\frac {a (-2 A b+3 a B)}{b^3 \sqrt {a+b x}}+\frac {(A b-3 a B) \sqrt {a+b x}}{b^3}+\frac {B (a+b x)^{3/2}}{b^3}\right ) \, dx\\ &=-\frac {2 a^2 (A b-a B)}{b^4 \sqrt {a+b x}}-\frac {2 a (2 A b-3 a B) \sqrt {a+b x}}{b^4}+\frac {2 (A b-3 a B) (a+b x)^{3/2}}{3 b^4}+\frac {2 B (a+b x)^{5/2}}{5 b^4}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.07, size = 67, normalized size = 0.74 \begin {gather*} \frac {2 \left (48 a^3 B-8 a^2 b (5 A-3 B x)-2 a b^2 x (10 A+3 B x)+b^3 x^2 (5 A+3 B x)\right )}{15 b^4 \sqrt {a+b x}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
IntegrateAlgebraic [A] time = 0.04, size = 83, normalized size = 0.91 \begin {gather*} \frac {2 \left (15 a^3 B-15 a^2 A b+45 a^2 B (a+b x)-30 a A b (a+b x)+5 A b (a+b x)^2-15 a B (a+b x)^2+3 B (a+b x)^3\right )}{15 b^4 \sqrt {a+b x}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 1.05, size = 82, normalized size = 0.90 \begin {gather*} \frac {2 \, {\left (3 \, B b^{3} x^{3} + 48 \, B a^{3} - 40 \, A a^{2} b - {\left (6 \, B a b^{2} - 5 \, A b^{3}\right )} x^{2} + 4 \, {\left (6 \, B a^{2} b - 5 \, A a b^{2}\right )} x\right )} \sqrt {b x + a}}{15 \, {\left (b^{5} x + a b^{4}\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 1.28, size = 102, normalized size = 1.12 \begin {gather*} \frac {2 \, {\left (B a^{3} - A a^{2} b\right )}}{\sqrt {b x + a} b^{4}} + \frac {2 \, {\left (3 \, {\left (b x + a\right )}^{\frac {5}{2}} B b^{16} - 15 \, {\left (b x + a\right )}^{\frac {3}{2}} B a b^{16} + 45 \, \sqrt {b x + a} B a^{2} b^{16} + 5 \, {\left (b x + a\right )}^{\frac {3}{2}} A b^{17} - 30 \, \sqrt {b x + a} A a b^{17}\right )}}{15 \, b^{20}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.01, size = 71, normalized size = 0.78 \begin {gather*} -\frac {2 \left (-3 B \,b^{3} x^{3}-5 A \,b^{3} x^{2}+6 B a \,b^{2} x^{2}+20 A a \,b^{2} x -24 B \,a^{2} b x +40 A \,a^{2} b -48 B \,a^{3}\right )}{15 \sqrt {b x +a}\, b^{4}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.89, size = 85, normalized size = 0.93 \begin {gather*} \frac {2 \, {\left (\frac {3 \, {\left (b x + a\right )}^{\frac {5}{2}} B - 5 \, {\left (3 \, B a - A b\right )} {\left (b x + a\right )}^{\frac {3}{2}} + 15 \, {\left (3 \, B a^{2} - 2 \, A a b\right )} \sqrt {b x + a}}{b} + \frac {15 \, {\left (B a^{3} - A a^{2} b\right )}}{\sqrt {b x + a} b}\right )}}{15 \, b^{3}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.08, size = 83, normalized size = 0.91 \begin {gather*} \frac {\left (6\,B\,a^2-4\,A\,a\,b\right )\,\sqrt {a+b\,x}}{b^4}+\frac {2\,B\,{\left (a+b\,x\right )}^{5/2}}{5\,b^4}+\frac {\left (2\,A\,b-6\,B\,a\right )\,{\left (a+b\,x\right )}^{3/2}}{3\,b^4}+\frac {2\,B\,a^3-2\,A\,a^2\,b}{b^4\,\sqrt {a+b\,x}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 12.76, size = 88, normalized size = 0.97 \begin {gather*} \frac {2 B \left (a + b x\right )^{\frac {5}{2}}}{5 b^{4}} + \frac {2 a^{2} \left (- A b + B a\right )}{b^{4} \sqrt {a + b x}} + \frac {\left (a + b x\right )^{\frac {3}{2}} \left (2 A b - 6 B a\right )}{3 b^{4}} + \frac {\sqrt {a + b x} \left (- 4 A a b + 6 B a^{2}\right )}{b^{4}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________